package com.seecen.HJM.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @author TOYA
 * @date 2025/9/28 10:45
 * @description: 歌曲详情，前台视图数据
 */

@Data
public class SongDetailVo implements Serializable {
    @Serial
    private static final long serialVersionUID = -6832507327841323500L;


    private Long id;
    private String name;
    private String artistName;
    private String album;
    private String lyric;//歌词
    private String duration;//歌曲时长
    private String coverUrl;//歌曲封面 url
    private String audioUrl;//歌曲 url
    //歌曲发行时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate releaseTime;
    /**
     * 喜欢状态
     * 0：默认
     * 1：喜欢
     */
    private Integer likeStatus;


    /**
     * 评论列表
     */
    private List<CommentVO> comments;

}
